package com.blb.entity;

import java.util.List;

/**
 * 菜单扩展类
 * 针对父子级查询
 *
 * @author Administrator
 */
public class MenuExt {

    private String id;

    private String name;

    private boolean open;

    private boolean checked;

    private List<MenuExt> children;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public List<MenuExt> getChildren() {
        return children;
    }

    public void setChildren(List<MenuExt> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "MenuExt [id=" + id + ", name=" + name + ", open=" + open + ", checked=" + checked + ", children="
                + children + "]";
    }
}
